package com.itheima.dao;

import java.util.List;

import org.apache.ibatis.annotations.Select;

import com.itheima.po.Account;

public interface AccountDao {
	@Select("select * from account")
	public List<Account> findAll();
	
	@Select("select * from account where id=#{id}")
	public Account findById(Integer id);
}
